package tech.bmatch.image.service;

import tech.bmatch.image.model.Photo;
import tech.bmatch.image.model.User;

public interface UserService {


    //添加用户
    void uploadUser(User user);

    //初始化
    void init();

    //图片存储
    Photo upload(String userId,byte[] files, String name, String userName);

    //默认存储路径
    String storePath = "/Users/linjinhao/IdeaProjects/StorePicture/photo";

    //根据图片id，搜索图片
    void browse(String userName);

    //打水印
    void markImageByIcon(String name, int x, int y);
}
